using UnityEngine;

public class DartRotation : MonoBehaviour
{
	public Vector3 rotationAxis = new Vector3(0f, 0f, 1f);

	public Vector3 rotationPivot = Vector3.zero;

	public float angularVelocity = 90f;

	private float angle;

	private void Update()
	{
		angle += angularVelocity * Time.deltaTime;
		base.transform.localRotation = Quaternion.AngleAxis(angle, Vector3.forward);
	}
}
